package com.yxq.mdt.app.base;

import java.io.Serializable;

/**
*@描述 通用接口返回类
*@作者 yd
*@创建日期 2019/8/27 0027 15:51
*
*/
public class RespBasePay<T> implements Serializable {
    private int code;
    private int is_alert;
    private String msg;
    private T data;
    private String res;
    private String body;

    public void setBody(String body) {
        this.body = body;
    }

    public void setRes(String res) {
        this.res = res;
    }

    public String getBody() {
        return body;
    }

    public String getRes() {
        return res;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getIs_alert() {
        return is_alert;
    }

    public void setIs_alert(int is_alert) {
        this.is_alert = is_alert;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "RespBase{" +
                "code=" + code +
                ", is_alert=" + is_alert +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
